package com.itheima.dao;

import com.itheima.entity.DateCondition;
import com.itheima.pojo.Order;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface OrderDao {

    void add(Order order);

    List<Order> findByCondition(Order order);

    Map findById(Integer id);

    List<Map> getSetmealReport();


    Integer getNewOrderByCondition(DateCondition dateCondition);

    Integer getVisitsNumberByCondition(DateCondition dateCondition);

    List<Map> findHotSetmeal();
}
